package geektime.jdk.jmx;

public class ApplicationInfo implements ApplicationInfoMBean {
    private long counter = 0l;

    public long incrementCounter() {
        return counter++;
    }

    @Override
    public long getCounter() {
        return counter;
    }
}
